package xyz.scoder;

public class Test {
    public static void main(String[] args) {
        PizzaStore store = new FirstPizzaStore();
        Pizza pizza = store.orderPizza("Anhui");
        System.out.println(pizza.getName());
        System.out.println("*******************************");
        store = new SecondPizzaStore();
        pizza = store.orderPizza("Anhui");
        System.out.println("*******************************");
        pizza = store.orderPizza("Henan");
        System.out.println(pizza.getName());
    }
}
